package licode.unisop.client.config;

import lombok.Data;

import java.util.List;

/**
 * 平台配置属性信息
 *
 * @author WR
 * @since 2016/6/30 9:59
 */
@Data
public class YmlPlatform {
    private List<Register> registers;

    @Data
    public static class Register {
        private String id;
        private String secret;
        private String realmId;
    }

    public boolean isValid() {
        return null != registers && !registers.isEmpty();
    }
}
